package com.woniuxy.ams.controller;

import com.woniuxy.ams.entity.ResultEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author fyx
 */
@RestController
@RequestMapping("/status")
public class ErrorController {
    @RequestMapping("/401")
    public ResultEntity<?> error401() {
        return new ResultEntity<>(401, "登录验证失败");
    }
}
